using System.Runtime.Serialization;

namespace FU.Capstones.IMS.Services.Common.DataContracts
{
    [DataContract(Namespace = InventoryConstants.ServiceNamespace)]
    public class Account
    {
        [DataMember]
        public int EmployeeID { get; set; }

        [DataMember]
        public string FullName { get; set; }

        [DataMember]
        public string Username { get; set; }

        [DataMember]
        public string Password { get; set; }

        //OrderMaterial
        [DataMember]
        public bool CanViewOrderMaterial { get; set; }

        [DataMember]
        public bool CanEditOrderMaterial { get; set; }

        [DataMember]
        public bool CanAddOrderMaterial { get; set; }

        //OrderProduct
        [DataMember]
        public bool CanViewOrderProduct { get; set; }

        [DataMember]
        public bool CanEditOrderProduct { get; set; }

        [DataMember]
        public bool CanAddOrderProduct { get; set; }

        //Employee
        [DataMember]
        public bool CanViewEmployee { get; set; }

        [DataMember]
        public bool CanEditEmployee { get; set; }

        [DataMember]
        public bool CanAddEmployee { get; set; }

        //EmploymentType
        [DataMember]
        public bool CanViewEmploymentType { get; set; }

        [DataMember]
        public bool CanEditEmploymentType { get; set; }

        [DataMember]
        public bool CanAddEmploymentType { get; set; }

        //Role
        [DataMember]
        public bool CanViewRole { get; set; }

        [DataMember]
        public bool CanEditRole { get; set; }

        [DataMember]
        public bool CanAddRole { get; set; }

        //Partner
        [DataMember]
        public bool CanViewPartner { get; set; }

        [DataMember]
        public bool CanEditPartner { get; set; }

        [DataMember]
        public bool CanAddPartner { get; set; }

        //Warehouse
        [DataMember]
        public bool CanViewWarehouse { get; set; }

        [DataMember]
        public bool CanEditWarehouse { get; set; }

        [DataMember]
        public bool CanAddWarehouse { get; set; }

        //Product
        [DataMember]
        public bool CanViewProduct { get; set; }

        [DataMember]
        public bool CanEditProduct { get; set; }

        [DataMember]
        public bool CanAddProduct { get; set; }

        //Material
        [DataMember]
        public bool CanViewMaterial { get; set; }

        [DataMember]
        public bool CanEditMaterial { get; set; }

        [DataMember]
        public bool CanAddMaterial { get; set; }
    }
}